From dc4588b1b134cb66b9e0842b96f0be96b724a049 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 17 Dec 2021 19:29:20 +0100
Subject: chore: add a comment form to posts

---
 src/pages/article/[slug].tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/pages/article/[slug].tsx')

diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx
index 57982e9..05da913 100644
--- a/src/pages/article/[slug].tsx
+++ b/src/pages/article/[slug].tsx
@@ -1,3 +1,4 @@
+import CommentForm from '@components/CommentForm/CommentForm';
 import CommentsList from '@components/CommentsList/CommentsList';
 import Layout from '@components/Layouts/Layout';
 import PostFooter from '@components/PostFooter/PostFooter';
@@ -30,6 +31,8 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => {
       <section>
         <h2>{t`Comments`}</h2>
         <CommentsList comments={comments} />
+        <h2>{t`Leave a comment`}</h2>
+        <CommentForm />
       </section>
     </article>
   );
-- 
cgit v1.2.3

